
package com.zbest.component.framework.pigeon.config.spring.schema;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

import com.zbest.component.framework.pigeon.extension.ExtensionBean;
import com.zbest.component.framework.pigeon.template.TemplateBean;

/**
 * 
 * 
 * @author jianhuihuang
 * @version $Id: PigeonNamespaceHandler.java, v 0.1 2013-6-24 下午10:16:41
 *          jianhuihuang Exp $
 */
public class PigeonNamespaceHandler extends NamespaceHandlerSupport {

    public void init() {
        
        registerBeanDefinitionParser("extension",
                new PigeonBeanDefinitionParser(ExtensionBean.class, false));
        registerBeanDefinitionParser("template",
        		new PigeonBeanDefinitionParser(TemplateBean.class, false));
    }

}